---
title: Banned
---

import Dependencies from "@partials/group-config/dependencies.mdx";
import DependencyTypes from "@partials/group-config/dependency-types.mdx";
import SpecifierTypes from "@partials/group-config/specifier-types.mdx";
import Label from "@partials/group-config/label.mdx";
import Packages from "@partials/group-config/packages.mdx";
import { Badge } from "@astrojs/starlight/components";
import Details from "@site/components/details.astro";

Find and remove dependencies which you've decided should never be used.

## Configuration

### isBanned <Badge text="Required" variant="danger" />

This property activates this behaviour for a given Version Group.

```json title=".syncpackrc.json"
{
  "versionGroups": [
    {
      "dependencies": ["never-gonna"],
      "isBanned": true
    }
  ]
}
```

### dependencies <Badge text="Optional" variant="note" />

<Dependencies />

### dependencyTypes <Badge text="Optional" variant="note" />

<DependencyTypes />

### specifierTypes <Badge text="Optional" variant="note" />

<SpecifierTypes />

### label <Badge text="Optional" variant="note" />

<Label />

### packages <Badge text="Optional" variant="note" />

<Packages />
